﻿using System.Data.Entity.ModelConfiguration;
using ZY.EntityFrameWork.Core.Model.Entity;

namespace ZY.EntityFrameWork.Core.Mapping.SQLServer
{
    class ReturnInfoMap : EntityTypeConfiguration<ReturnInfo>
    {
        public ReturnInfoMap()
        {
            ToTable("ReturnInfo").HasKey(q => q.Id);
            Property(m => m.ArvID).IsRequired();
        }
    }
}
